package com.woniuxy.microstockserver.service;

import com.woniuxy.microstockserver.bean.OutStockGoodsDetailBean;

import java.util.List;

/**
 * @author 赵雄伟
 * 出库单商品详情service
 */
public interface IOutStockGoodsDetailService {
    /**
     * 新增出库单的新增出库商品
     * @param
     * @param
     */
    void saveOutStockGoodsDetailBean(Long osId, List<OutStockGoodsDetailBean> outStockGoodsDetailBeans);

    /**
     * 根据出库单外键id查询出库商品详情
     */
    List<OutStockGoodsDetailBean> findOutStockAndGoodsDetail(Long id);

    /**
     * 根据出库单外键id，删除出库单商品信息，主要用于修改出库单
     * @param id
     */
    void deleteByOsId(Long id);
}
